package com.jsu.dao;

import com.jsu.bean.FoundMessage;
import com.jsu.bean.FoundMessageExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface FoundMessageMapper {
	Integer selectLastId();
	
	int selectIdByToken(String facetoken);
	
    int countByExample(FoundMessageExample example);

    int deleteByExample(FoundMessageExample example);

    int deleteByPrimaryKey(Integer foundmessageId);

    int insert(FoundMessage record);

    int insertSelective(FoundMessage record);

    List<FoundMessage> selectByExample(FoundMessageExample example);

    FoundMessage selectByPrimaryKey(Integer foundmessageId);

    int updateByExampleSelective(@Param("record") FoundMessage record, @Param("example") FoundMessageExample example);

    int updateByExample(@Param("record") FoundMessage record, @Param("example") FoundMessageExample example);

    int updateByPrimaryKeySelective(FoundMessage record);

    int updateByPrimaryKey(FoundMessage record);

	List<Integer> selectFoundIdsByMessageIds(List<Integer> foundMessageIds);
}